# -*- mode: snippet -*-
# name: rollapply from zoo
# key: rollapply@zoo
# contributor : Shuguang Sun
# --
rollapply(${1:data}, ${2:width}, FUN = ${3:fun}, na.pad = TRUE, align = \"${4:$$(yas-choose-value '("center" "left" "right"))}\")
